<?php
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$js = $app->input->getBool("js");
?>

<?php if($js): ?>
	<head>
		<meta charset="utf-8">
		
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		
		<link href="templates/<?php echo $this->template; ?>/assets/kendoui/css/kendo.common.min.css" rel="stylesheet" >
		<link href="templates/<?php echo $this->template; ?>/assets/kendoui/css/kendo.default.min.css" rel="stylesheet" >
		<link href="templates/<?php echo $this->template; ?>/assets/kendoui/css/kendo.dataviz.min.css" rel="stylesheet" >
		<link href="templates/<?php echo $this->template; ?>/assets/kendoui/css/kendo.dataviz.blueopal.min.css" rel="stylesheet" >
		
		<link href="templates/<?php echo $this->template; ?>/assets/css/bootstrap.css" rel="stylesheet" >
		<link href="templates/<?php echo $this->template; ?>/assets/css/theme.css" rel="stylesheet" >
		<link href="templates/<?php echo $this->template; ?>/assets/css/font-awesome.min.css" rel="stylesheet">
		<link href="templates/<?php echo $this->template; ?>/assets/css/alertify.css" rel="stylesheet">
		<link href="templates/<?php echo $this->template; ?>/assets/css/default.css" rel="stylesheet">
		<link href="templates/<?php echo $this->template; ?>/assets/css/chosen.css" rel="stylesheet">
		<link href="templates/<?php echo $this->template; ?>/assets/font/opensans.css" rel="stylesheet" type="text/css">
		<link rel="Favicon Icon" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/favicon.ico">
		
		<script src="templates/<?php echo $this->template; ?>/assets/js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="templates/<?php echo $this->template; ?>/assets/js/bootstrap.js"></script>     
		<script type="text/javascript" src="templates/<?php echo $this->template; ?>/assets/js/jquery.alertify.min.js"></script> 
		<script type="text/javascript" src="templates/<?php echo $this->template; ?>/assets/js/default.js"></script> 
		<script type="text/javascript" src="templates/<?php echo $this->template; ?>/assets/js/chosen.jquery.min.js"></script> 
		
		<script type="text/javascript" src="templates/<?php echo $this->template; ?>/assets/kendoui/js/kendo.all.min.js"></script> 
		
		<jdoc:include type="head" />
		
		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
		  <script src="templates/<?php echo $this->template; ?>/assets/js/html5.js"></script>
		<![endif]-->
	</head>
<?php endif; ?>

<jdoc:include type="component" />